<p>Here is some sample code:</p>

<div class="codehilite" style="background: #f8f8f8"><pre style="line-height: 125%"><code><span style="color: #008000; font-weight: bold">import</span> <span style="color: #0000FF; font-weight: bold">sys</span>
<span style="color: #008000; font-weight: bold">def</span> <span style="color: #0000FF">main</span>(argv<span style="color: #666666">=</span>sys<span style="color: #666666">.</span>argv):
    logging<span style="color: #666666">.</span>basicConfig()
    log<span style="color: #666666">.</span>info(<span style="color: #BA2121">&#39;hi&#39;</span>)
</code></pre></div>

<p>and:</p>

<div class="codehilite" style="background: #f8f8f8"><pre style="line-height: 125%"><code>use <span style="color: #BA2121">&#39;zlib&#39;</span>
<span style="color: #008000">sub</span> main(argv)
    <span style="color: #008000">puts</span> <span style="color: #BA2121">&#39;hi&#39;</span>
<span style="color: #008000; font-weight: bold">end</span>
</code></pre></div>
